package org.lc.eic.messgeconstruct.requestreply;

import java.io.InputStream;
import java.io.OutputStream;



import org.lc.eic.messgeconstruct.requestreply.exception.DeserializeException;
import org.lc.eic.messgeconstruct.requestreply.exception.SerializeException;

public interface RequestSerializer<I> {
	
	void serializeRequest(Request<I> request, OutputStream outputStream) throws SerializeException;
	
	Request<I> deserializeRequest(InputStream inputStream) throws DeserializeException;

}
